//
//  WDBannerCollectionView.h
//  MyDemos
//
//  Created by iMac on 2018/3/9.
//  Copyright © 2018年 iMac. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface WDBannerCollectionView : UICollectionView

+ (instancetype)bannerViewWithFrame:(CGRect)frame;

- (void)setBannerImages:(NSArray *)images;
- (void)setPlaceholder:(UIImage *)image;


- (void)setRepeatTimeInterval:(NSTimeInterval)time;
- (void)restart;

@property (nonatomic, copy) void(^selectedIndex)(NSInteger index);
@property (nonatomic, copy) void(^currentIndex)(NSInteger index);

@end
